package com.education.welco.service;

import com.education.common.pojo.AjaxResult;
import com.education.welco.pojo.SysAppVersion;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author: liftsail
 * @Date: 2023/2/1 10:31
 * @Description: 不积跬步无以至千里
 */
public interface SysAppVersionService {

    @ApiOperation("添加app版本")
    AjaxResult addAppVersion(@RequestBody SysAppVersion sysAppVersion);

    @ApiOperation("删除app版本")
    AjaxResult delAppVersion(@RequestBody SysAppVersion sysAppVersion);

    @ApiOperation("版本分页列表")
    AjaxResult appVersionList(@RequestBody SysAppVersion sysAppVersion);

    /**
     * app查询最新一条版本记录
     */
    SysAppVersion getLatSysAppVersion();
}
